#ifndef CENTRALWIDGET_H
#define CENTRALWIDGET_H

#include <QtGui>

#include "Database.h"
#include "Navagator.h"

//! The central widget.
class CentralWidget : public QSplitter
{
	Q_OBJECT

public:
	//! Constructor
	/*!
		@param parent See QWidget.
	*/
	CentralWidget( QWidget* parent );
	//! Destructor
	virtual ~CentralWidget();

private slots:
	void submit();
	void revert();

private:
	Navagator* mNavagator;

	//! No Copy Constructor
	CentralWidget( const CentralWidget& );
	//! No Assignment Operator
    CentralWidget& operator=( const CentralWidget& );
};

#endif // CENTRALWIDGET_H